package com.xwltz.rbac.defines;

/**
 * @description ModuleEnum
 * @information on version 1.0 be created by @xwltz at 2021/11/22 16:12
 */
@SuppressWarnings("unused")
public enum ModuleEnum {
	MODULE(0, "目录", "顶级目录"),
	MENU(1, "菜单", "目录的子级菜单"),
	BUTTON(2, "按钮", "菜单的按钮权限");

	private final Integer code;
	private final String name;
	private final String description;

	ModuleEnum(Integer code, String name, String description) {
		this.code = code;
		this.name = name;
		this.description = description;
	}
}
